package cn.chia.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TblItems entity. @author MyEclipse Persistence Tools
 */

public class TblItems implements java.io.Serializable {

	// Fields

	private String itemId;
	private TblSuppliers tblSuppliers;
	private TblCatagorgy tblCatagorgy;
	private TblUnit tblUnit;
	private TblActivity tblActivity;
	private String itemName;
	private Double retailPrice;
	private String itemPic;
	private String note;
	private Long safeAmount;
	private Set tblBills = new HashSet(0);
	private Set tblExportBills = new HashSet(0);
	private Set tblImportBills = new HashSet(0);
	private Set tblStockses = new HashSet(0);
	private Set orderitemses = new HashSet(0);
	private Set tblShopcars = new HashSet(0);
	private Set tblTouchItemsActivities = new HashSet(0);

	// Constructors

	/** default constructor */
	public TblItems() {
	}

	/** minimal constructor */
	public TblItems(TblCatagorgy tblCatagorgy, TblUnit tblUnit,
			String itemName, Double retailPrice) {
		this.tblCatagorgy = tblCatagorgy;
		this.tblUnit = tblUnit;
		this.itemName = itemName;
		this.retailPrice = retailPrice;
	}

	/** full constructor */
	public TblItems(TblSuppliers tblSuppliers, TblCatagorgy tblCatagorgy,
			TblUnit tblUnit, TblActivity tblActivity, String itemName,
			Double retailPrice, String itemPic, String note, Long safeAmount,
			Set tblBills, Set tblExportBills, Set tblImportBills,
			Set tblStockses, Set orderitemses, Set tblShopcars,
			Set tblTouchItemsActivities) {
		this.tblSuppliers = tblSuppliers;
		this.tblCatagorgy = tblCatagorgy;
		this.tblUnit = tblUnit;
		this.tblActivity = tblActivity;
		this.itemName = itemName;
		this.retailPrice = retailPrice;
		this.itemPic = itemPic;
		this.note = note;
		this.safeAmount = safeAmount;
		this.tblBills = tblBills;
		this.tblExportBills = tblExportBills;
		this.tblImportBills = tblImportBills;
		this.tblStockses = tblStockses;
		this.orderitemses = orderitemses;
		this.tblShopcars = tblShopcars;
		this.tblTouchItemsActivities = tblTouchItemsActivities;
	}

	// Property accessors

	public String getItemId() {
		return this.itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public TblSuppliers getTblSuppliers() {
		return this.tblSuppliers;
	}

	public void setTblSuppliers(TblSuppliers tblSuppliers) {
		this.tblSuppliers = tblSuppliers;
	}

	public TblCatagorgy getTblCatagorgy() {
		return this.tblCatagorgy;
	}

	public void setTblCatagorgy(TblCatagorgy tblCatagorgy) {
		this.tblCatagorgy = tblCatagorgy;
	}

	public TblUnit getTblUnit() {
		return this.tblUnit;
	}

	public void setTblUnit(TblUnit tblUnit) {
		this.tblUnit = tblUnit;
	}

	public TblActivity getTblActivity() {
		return this.tblActivity;
	}

	public void setTblActivity(TblActivity tblActivity) {
		this.tblActivity = tblActivity;
	}

	public String getItemName() {
		return this.itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public Double getRetailPrice() {
		return this.retailPrice;
	}

	public void setRetailPrice(Double retailPrice) {
		this.retailPrice = retailPrice;
	}

	public String getItemPic() {
		return this.itemPic;
	}

	public void setItemPic(String itemPic) {
		this.itemPic = itemPic;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Long getSafeAmount() {
		return this.safeAmount;
	}

	public void setSafeAmount(Long safeAmount) {
		this.safeAmount = safeAmount;
	}

	public Set getTblBills() {
		return this.tblBills;
	}

	public void setTblBills(Set tblBills) {
		this.tblBills = tblBills;
	}

	public Set getTblExportBills() {
		return this.tblExportBills;
	}

	public void setTblExportBills(Set tblExportBills) {
		this.tblExportBills = tblExportBills;
	}

	public Set getTblImportBills() {
		return this.tblImportBills;
	}

	public void setTblImportBills(Set tblImportBills) {
		this.tblImportBills = tblImportBills;
	}

	public Set getTblStockses() {
		return this.tblStockses;
	}

	public void setTblStockses(Set tblStockses) {
		this.tblStockses = tblStockses;
	}

	public Set getOrderitemses() {
		return this.orderitemses;
	}

	public void setOrderitemses(Set orderitemses) {
		this.orderitemses = orderitemses;
	}

	public Set getTblShopcars() {
		return this.tblShopcars;
	}

	public void setTblShopcars(Set tblShopcars) {
		this.tblShopcars = tblShopcars;
	}

	public Set getTblTouchItemsActivities() {
		return this.tblTouchItemsActivities;
	}

	public void setTblTouchItemsActivities(Set tblTouchItemsActivities) {
		this.tblTouchItemsActivities = tblTouchItemsActivities;
	}

	@Override
	public String toString() {
		return "TblItems [itemId=" + itemId + ", itemName=" + itemName
				+ ", itemPic=" + itemPic + ", note=" + note + ", orderitemses="
				+ orderitemses + ", retailPrice=" + retailPrice
				+ ", safeAmount=" + safeAmount + ", tblActivity=" + tblActivity
				+ ", tblBills=" + tblBills + ", tblCatagorgy=" + tblCatagorgy
				+ ", tblExportBills=" + tblExportBills + ", tblImportBills="
				+ tblImportBills + ", tblShopcars=" + tblShopcars
				+ ", tblStockses=" + tblStockses + ", tblSuppliers="
				+ tblSuppliers + ", tblTouchItemsActivities="
				+ tblTouchItemsActivities + ", tblUnit=" + tblUnit + "]";
	}

}